home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / misc / lzx2sid.lha / LZX2SID.txt < prev    next >
Text File  |  1995-09-29  |  4KB  |  101 lines

  1.  
  2.   Okay, this is pretty easy.  Wonderful directory utility, great archiving
  3. format.  I hope a UNIX version is written soon so the Aminet can start
  4. importing them.  I and all the local Amiga SysOps immediately switched all
  5. our board files to it, no hesitation.  Convert the 1.4-meg LHA "World Fact
  6. Book" to an 850k LZX file.  Do the same with the 1.4-meg LHA "World Fact
  7. Book" in AmigaGuide format.  That's over ONE MEG saved with just two files,
  8. that's good enough for me.
  9.  
  10.  
  11.   The trick here is that you hex edit the "SID2.desc" file in the s direc-
  12. tory.  When you look at it with the hex editor, you'll see the various binary
  13. signatures of the various files SID recognizes.  In the last section, #4,
  14. you'll see the various archivers.  Change both of the "ZOO"s to "LZX".  The
  15. "Zoo archive" isn't important, it's the other one, the identifier that makes
  16. it work.  
  17.  
  18.   Close SID down and fire it back up.  It has a "Load Desc" menu entry, but
  19. it doesn't work.  We want it to recognize the new SID2.desc file.
  20.  
  21.   The "Zoo archive" is what you see (now follow this carefully) in the
  22. LISTARC's Launch window in the sub-command box where all the archivers are
  23. listed.  If you had the Zoo command there before, it should now say "LZX
  24. archive".  If it doesn't, hit ADD and pick it from the list.  Put "LZX x" (or
  25. "l") in the "Associated Command Line" box.  If you already have it listed,
  26. hit EDIT and change the "Zoo x" (or "l") to "LZX x" (or "l").  Hit OK and go
  27. save the buttons config. 
  28.  
  29.   Whatever you have listed in the LISTARC command is what runs when you
  30. double-click on an archived file.  He calls it "LISTARC" because he assumes
  31. you want it to list the contents of files, but I use it to decompress files,
  32. so I make it "LZX x".  
  33.  
  34.   You leave the "LHA x" (or "l") in the Default Command box up above, since
  35. that's still what we mostly decompress (or list).
  36.  
  37.   That should do it!  Double-click on an LZX file and see what happens.  
  38.  
  39.  
  40.   Trouble-shooting:
  41.   
  42.   If it still says "binary file", then you didn't hex edit the SID2.desc file
  43. correctly.  If it says "LZX archive", but doesn't do anything, that means
  44. it's recognizing the file, but you don't have the LISTARC box set up correct-
  45. ly.  That's the LISTARC function, not the LAUNCH function, but it still has a
  46. Launch box you go into.  You should see the "LZX archive" and the "LZX x" (or
  47. "l") option in the sub-command box. 
  48.  
  49.  
  50.   Notes:
  51.  
  52.   You can try hex editing a different part of the SID2.desc file, of course.
  53. I first tried Arc, but couldn't get it to recognize the file.  Then I tried
  54. the ZOO spot and worked.  If you, personally, decompress many many ZOO files
  55. daily, then try something else. ;)
  56.  
  57.   To decompress the occasional (real) Zoo file you come across, you'll need a
  58. separate standard Launch button, no big deal.
  59.  
  60.   For LZX's compression string, you should be using:
  61.  
  62.                     LZX -r -x -e -Y -3 a %i.LZX
  63.  
  64.   If you happen to have the registered version, make sure to add a "-a -m".
  65. Yes, they make a difference when compressing, hard as it is to believe.  
  66.  
  67.   Enclosed:
  68.  
  69.   Some of my config files.  Check out the Sort and Filter buttons for
  70. examples of the %f and %i wildcards, if you don't know how to use them.
  71.  
  72.   Note that many of my pull-down menu functions are executions of script-
  73. files, rather than actually running the tool.
  74.  
  75.   Example:  I usually decompress files in SD0.  Let's say I decompress a MOD.
  76. I pull down the menu to Audio/PPlayer (PowerPlayer) and let it fly.  A
  77. scriptfile is executed, which is simply two lines:
  78.  
  79. CD SD0:
  80. Run Audio:Tools/PPlayer
  81.  
  82.   Up pops PowerPlayer, and when I hit the Load requester, there's the MOD,
  83. ready and waitin'.  Also, if some tool is looking for some .DAT file nearby,
  84. CD'ing to the directory first in a scriptfile takes care of that, too.
  85.  
  86.   Many of my buttons won't work for you as I keep a bunch of tools in Rad.
  87. I start up SID by executing a scriptfile, which checks Rad for one of the
  88. tools.  If it's not there, it copies them all over.  If it is, it skips to
  89. the EndIf command.  It also checks to see which OS I'm running, and copies
  90. the appropriate Ed program to Rad.  I just love smart scriptfiles. :)  I use
  91. Rad instead of SD0 as Rad works with both OS 1.3 (default) and the 3.1 kick-
  92. file I generally use.
  93.  
  94.   That's it!
  95.  
  96.                                **  THE BENCH//\/\\ASTER  **
  97.  
  98. Amiga-only BBS:
  99. (408) 238-5885
  100. benchie@cup.portal.com
  101.